-- GENERATED SPELL FOR [Deadwood Den Watcher] --


function spell0_7156(pUnit, Event) --@Curse of the Deadwood,Heal--
pUnit:FullCastSpellOnTarget(13583,pUnit)
pUnit:RegisterEvent('Sorts_7156', 2000, 1)
end

function Sorts_7156(pUnit, Event)
local choix_sorts_7156 = math.random(0, 0)
if choix_sorts_7156 == 0 then
pUnit:RegisterEvent('spell0_7156', 1, 1)
end
end

function mob7156_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7156', math.random(1500, 3000), 1)
end

function mob7156_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7156_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7156_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7156, 1, 'mob7156_Action')
RegisterUnitEvent(7156, 2, 'mob7156_Leave')
RegisterUnitEvent(7156, 3, 'mob7156_Kill')
RegisterUnitEvent(7156, 4, 'mob7156_Die')
